// 1.定义与echarts内置主题配套颜色方案
const autoThemes = {
    "dark": {
        bgColor: '#05092C',
        titleColor: 'orange',
        img: '/static/img/dark.png'
    },
    "vintage": {
        bgColor: '#FDFCF5',
        titleColor: '#05092C',
        img: '/static/img/light.png'
    }
}


// 2.定义切换配套主题方法
export default (themeName) => {
    return autoThemes[themeName]
}